package modified;

public class Checker {
  private boolean isKing;
  private Player owner;
  private CheckerColor color;

  public Checker(boolean isKing, Player owner, CheckerColor color) {
    this.isKing = isKing;
    this.owner = owner;
    this.color = color;
  }

  public boolean isKing() {
    return isKing;
  }

  public void makeKing() {
    isKing = true;
  }

  public Player getOwner() {
    return owner;
  }

  public CheckerColor getColor() {
    return color;
  }
}
